#ifndef SDLSPRITE_H
#define SDLSPRITE_H

#include "SDLImage.h"
#include "Timer.h"
#include "Quad.h"

class SDLSprite: public SDLImage
{
public:
	SDLSprite();
	SDLSprite(SDL_Surface* image);
	void setClip(SDL_Rect clip);
	void update();
	void setXY(float x, float y);
	SDL_Rect getClip();
private:
	SDL_Rect clip;
};

#endif /* SDLSPRITE_H */
